home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / util1 / incomand.zip / WIPEDIR.GBA < prev   
Text File  |  1992-08-15  |  326b  |  18 lines

  1. @ECHO OFF
  2. IF %2!==! GOTO ok
  3. ECHO No modifiers are allowed
  4. GOTO END
  5. :OK
  6. rem don't put a "\" after %1 because it might be A:, and that would mean root
  7. DI %1... -D/EXIST
  8. IF errorlevel 1 GOTO NOFILES
  9. idel %1...*.* /nol
  10. :NOFILES
  11. DI %1... +D/EXIST
  12. IF errorlevel 1 GOTO NODIRS
  13. ird %1...*.* /nol
  14. :NODIRS
  15. ird %1
  16. :END
  17.  
  18.